#pragma once

#include "IMEBase.h"

#define MAX_COMPOSIT_STRING 64

class CKoreaIME : public CIMEBase
{
public:
	CKoreaIME(void);
	virtual ~CKoreaIME(void);

	virtual void OnChar(WPARAM wParam, LPARAM lParam);
	virtual void OnStartComposition(WPARAM wParam, LPARAM lParam);
	virtual void OnComposition(WPARAM wParam, LPARAM lParam);
	virtual void OnEndComposition(WPARAM wParam, LPARAM lParam);
	virtual void OnNotify(WPARAM wParam, LPARAM lParam);

	const char* GetCompositString() { return m_strComposit; }

private:
	TCHAR m_strComposit[MAX_COMPOSIT_STRING];
};
